<script setup>
import { useUserStore } from '@/store/user'
const user = useUserStore()
</script>

<template>
    <div>
        <div class="text-xs text-red-500">Home</div>
        <div>{{ user.id }}</div>
        <div>{{ user.name }}</div>
        <div>{{ user.roles }}</div>
        <div>{{ user.permissions }}</div>
        <el-button type="primary">按钮</el-button>
    </div>
</template>